package com.xyd.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 主机
 */
@Component
public class MainFrame {

    @Value("外星人")
    private String modelType;


    public void printMainFrameInfo() {
        System.out.println("主机型号：" + modelType);
    }


    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }
}
